package edu.nwpu.controller;

import com.alibaba.fastjson.JSON;
import edu.nwpu.pojo.Order;
import edu.nwpu.service.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;


@Controller
@Deprecated
public class TestController {

    @GetMapping("/test")
    public String test() {
        return "test";
    }

    @RequestMapping("login")
    public String login(){
        return "login";
    }

    @RequestMapping("admin-index")
    public String index(){
        return "admin_index";
    }

    @RequestMapping("admin-cate")
    public String admin(){
        return "admin_cate";
    }

    @RequestMapping("admin-cateadd")
    public String client(){
        return "admin_cateadd";
    }

    @RequestMapping("admin-user")
    public String client2(){
        return "admin_user";
    }


}
